package testes;

import javax.swing.ImageIcon;
import javax.swing.JFrame;
import javax.swing.JLabel;
import javax.swing.JOptionPane;

public class TesteFrame extends JFrame{
	private static final long serialVersionUID = 1L;

	public TesteFrame() {
		setSize(800, 600);
		setResizable(false);
		setLayout(null);
		setLocationRelativeTo(null);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		
		String[] teste={"teste"};
		
		JOptionPane.showMessageDialog(null, null);
		
		JLabel lab=new JLabel(new ImageIcon(getClass().getResource("dsdssd")));
		add(lab).setBounds(100, 100, 100, 100);
		
		setVisible(true);
	}
}
